$OpenBSD: patch-radicale_config_py,v 1.8 2014/12/15 13:27:13 ian Exp $
--- radicale/config.py.orig	Wed Aug  6 13:23:29 2014
+++ radicale/config.py	Sun Nov 16 18:58:10 2014
@@ -43,8 +43,8 @@ INITIAL_CONFIG = {
         "daemon": "False",
         "pid": "",
         "ssl": "False",
-        "certificate": "/etc/apache2/ssl/server.crt",
-        "key": "/etc/apache2/ssl/server.key",
+        "certificate": "${SYSCONFDIR}/radicale/server.crt",
+        "key": "${SYSCONFDIR}/radicale/private/server.key",
         "protocol": "PROTOCOL_SSLv23",
         "ciphers": "",
         "dns_lookup": "True",
@@ -57,7 +57,7 @@ INITIAL_CONFIG = {
     "auth": {
         "type": "None",
         "custom_handler": "",
-        "htpasswd_filename": "/etc/radicale/users",
+        "htpasswd_filename": "${SYSCONFDIR}/radicale/users",
         "htpasswd_encryption": "crypt",
         "imap_hostname": "localhost",
         "imap_port": "143",
@@ -83,11 +83,10 @@ INITIAL_CONFIG = {
     "storage": {
         "type": "filesystem",
         "custom_handler": "",
-        "filesystem_folder": os.path.expanduser(
-            "~/.config/radicale/collections"),
+        "filesystem_folder": "/var/db/radicale/calendars",
         "database_url": ""},
     "logging": {
-        "config": "/etc/radicale/logging",
+        "config": "${SYSCONFDIR}/radicale/logging",
         "debug": "False",
         "full_environment": "False"}}
 
@@ -99,7 +98,7 @@ for section, values in INITIAL_CONFIG.items():
     for key, value in values.items():
         _CONFIG_PARSER.set(section, key, value)
 
-_CONFIG_PARSER.read("/etc/radicale/config")
+_CONFIG_PARSER.read("${SYSCONFDIR}/radicale/config")
 _CONFIG_PARSER.read(os.path.expanduser("~/.config/radicale/config"))
 if "RADICALE_CONFIG" in os.environ:
     _CONFIG_PARSER.read(os.environ["RADICALE_CONFIG"])
